package pl.kosmowska.ewelina.client.app.activity.places;

import com.google.gwt.place.shared.Place;
import com.google.gwt.place.shared.PlaceTokenizer;
import com.google.gwt.place.shared.Prefix;
import com.google.web.bindery.requestfactory.shared.RequestFactory;

public class IncomePlace extends Place {


	@Prefix("Przychody")
	public static class Tokenizer implements PlaceTokenizer<IncomePlace> {

		private RequestFactory requestFactory;


		public Tokenizer(RequestFactory requestFactory) {
			this.requestFactory = requestFactory;
		}

		@Override
		public String getToken(IncomePlace place) {
			String token = place.getToken();
			return "";
		}

		@Override
		public IncomePlace getPlace(String token) {
			return new IncomePlace();
		}

	}



	private String token;



	public IncomePlace() {

	}

	public String getToken() {
		return token;
	}


}
